package io.adrainty.bolee.insurance.service;

import io.adrainty.bolee.insurance.models.entity.InsurancePlanEntity;

import java.util.List;

/**
 * <p>IInsurancePlanService</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description InsurancePlanService
 * @since 2025/8/14 14:06:08
 */
public interface IInsurancePlanService {

    /**
     * 创建保险计划
     *
     * @param insurancePlanVOs 保险计划
     * @return 创建结果
     */
    Boolean createInsurancePlans(List<InsurancePlanEntity> insurancePlanVOs);

    /**
     * 更新保险计划
     *
     * @param insurancePlanVOs 保险计划
     * @return 更新结果
     */
    Boolean updateInsurancePlans(List<InsurancePlanEntity> insurancePlanVOs);

    /**
     * 查询保险计划
     *
     * @param planDTO 查询条件
     * @return 保险计划列表
     */
    List<InsurancePlanEntity> findPlanList(InsurancePlanEntity planDTO);
}
